<!-- 我的表格 -->

<template>
  <WebTable>
    <RowIndex />

    <RowTitle label="标题" :minWidth="120" />

    <RowDict label="所属模板" bind="templateCode, templateName" :dict="template_selectDict" />

    <RowText label="发起人" bind="releaseUserName" />

    <RowText label="联系方式" bind="releaseUserPhone" />

    <RowTree :label="`所属${CORE.MAP.ORGAN}`" bind="organizationId, organizationName" :dict="CORE.ORGAN.DICT" />

    <RowTime label="发起时间" bind="releaseTime" />

    <RowTime label="结束时间" bind="finishTime" />

    <RowStatus />

    <RowOperate :btns="['show']" :width="80" :onShow="windowDetail" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import mixDetailToTable from '@admin/components/detail/mixDetailToTable'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [
    mixDetailToTable('', 'DetailApproval'),
    CORE.mixSelect('template', 'template_'),
  ],
}
</script>
